﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Nullable<System.DateTime>>" %>

<%:Html.TextBoxFor(model => model, new { datatype = "datetimepicker", title = ViewData.ModelMetadata.Description })%>
<%--<img alt="" src="/Content/spacer.gif" onload="$('#<%:ViewData.ModelMetadata.PropertyName%>').datepicker({showButtonPanel: true,changeYear: true,showOtherMonths: true, selectOtherMonths: true});" />--%>